package udp

import (
	"net"
	"log"
	"fmt"
)

func main()  {
	ip := "127.0.0.1"
	port:= 2000
	tcpAddr := net.TCPAddr{[]byte(ip), port, ""}

	tcpConn, err := net.DialTCP("tcp", nil, tcpAddr )
	if err := nil {
		log.Fatal(err)
	}

	scan := ""
	fmt.Scanln(&scan)
	tcpConn.Write([]byte(scan))




}
